Install Dovecot
2010/07/25 |
Install Dovecot to configure POP/IMAP server. |
root@mail05:~# aptitude -y install dovecot-common dovecot-pop3d dovecot-imapd root@mail05:~# vi /etc/dovecot/dovecot.conf # line 25: change protocols = imap imaps pop3 pop3s # line 53: uncomment and change (allow plain text password) disable_plaintext_auth = no # line 95: uncomment and change (no SSL) ssl = no # line 230: uncomment and add mail_location = maildir:~/Maildir # line 889: add mechanisms = plain login # line 1117: change like below socket listen { # uncomment #master { # Master socket provides access to userdb information. It's typically # used to give Dovecot's local delivery agent access to userdb so it # can find mailbox locations. #path = /var/run/dovecot/auth-master #mode = 0600 # Default user/group is the one who started dovecot-auth (root) #user = #group = #} client { # uncomment # The client socket is generally safe to export to everyone. Typical use # is to export it to your SMTP server so it can do SMTP AUTH lookups # using it. path = /var/spool/postfix/private/auth-client # uncomment and change mode = 0660 # uncomment user = postfix # add group = postfix # add } # uncomment } # uncomment root@mail05:~# /etc/init.d/dovecot start * Starting IMAP/POP3 mail server dovecot If you have trouble with authentication failures, enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork This message goes away after the first successful login. ...done. root@mail05:~# sysv-rc-conf dovecot on
|